.toast-container {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.toast {
	font-size: 1.2em;
    font-weight: bold;
    position: relative;
    display: block;
    max-width: 300px;
    margin: auto;
    padding: .5em 1em;
    border-radius: 3px;

    text-align: center;
    color: #333;
    background-color: black;
	box-shadow: 1em 1em 1em rgba(0, 0, 0, 0.5);
    z-index: 100000;
}

.toast.warning {
    color: darkred;
}

.toast.success {
    color: dodgerblue;
}

.animate-in {
    animation-name: fuck-in;
    animation-duration: .5s;
}

.animate-out {
    animation-name: fuck-out;
    animation-duration: .3s;
    animation-fill-mode: forwards;
}

@keyframes fuck-in {
    from {
        transform: translate3d(0, 100%, 0) scale(0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
    }
}

@keyframes fuck-out {
    from {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    to {
        transform: translate3d(0, 100%, 0);
        opacity: 0;
    }
}